package server.db.primary.mapper.map;

import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;
import server.db.primary.model.map.Seal;

import javax.xml.crypto.Data;
import java.util.List;

public interface SealMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Seal record);

    int insertSelective(Seal record);

    Seal selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Seal record);

    int updateByPrimaryKey(Seal record);

    List<Seal> selectBynumberId ();

    List<Seal> selectBymark (@Param("mark")Integer mark, @Param("timeStart") String timeStart, @Param("timeEnd")String timeEnd);

    List<Seal> selectByuserId (@Param("userId") Integer userId,@Param("mark1") Integer mark1, @Param("timeStart") String timeStart, @Param("timeEnd")String timeEnd);

    List<Seal> selectByuserIdmark (@Param("userId") Integer userId, @Param("timeStart") String timeStart, @Param("timeEnd")String timeEnd);

    List<Seal> selectnotBywelluserId (@Param("userId") Integer userId, @Param("wellUserId") Integer wellUserId, @Param("timeStart") String timeStart, @Param("timeEnd")String timeEnd, @Param("timeStart1") String timeStart1, @Param("timeEnd1")String timeEnd1);

    List<Seal> selectBywelluserId (@Param("userId") Integer userId,@Param("wellUserId") Integer wellUserId,@Param("timeStart") String timeStart, @Param("timeEnd")String timeEnd, @Param("timeStart1") String timeStart1, @Param("timeEnd1")String timeEnd1);

    List<Seal> selectBywelluserIdmark (@Param("userId") Integer userId,@Param("wellUserId") Integer wellUserId,@Param("timeStart") String timeStart, @Param("timeEnd")String timeEnd, @Param("timeStart1") String timeStart1, @Param("timeEnd1")String timeEnd1);

    List<Seal> selectnotBystationuserId (@Param("stationUserId") Integer stationUserId,@Param("timeStart") String timeStart, @Param("timeEnd")String timeEnd);

    List<Seal> selectBystationuserId (@Param("stationUserId") Integer stationUserId,@Param("timeStart") String timeStart, @Param("timeEnd")String timeEnd);

    List<Seal> selectBystationuserIdmark (@Param("stationUserId") Integer stationUserId,@Param("timeStart") String timeStart, @Param("timeEnd")String timeEnd);

    List<Seal> selectBymark (@Param("timeStart") String timeStart, @Param("timeEnd") String timeEnd);

    List<Seal> selectnotBymark (@Param("mark") Integer mark, @Param("timeStart") String timeStart, @Param("timeEnd") String timeEnd);

}